home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 12 / BBS in a box XII-2.iso / Files II / Prog / S / SpriteWorld 1.0b4.sit / SpriteWorld / Examples / Utils / SoundUtils.h / SoundUtils.h
Encoding:
C/C++ Source or Header  |  1994-02-22  |  518 b   |  33 lines  |  [TEXT/KAHL]

  1. /*
  2. //    SoundUtils.c
  3. //
  4. //    Created: 7/20/92 at 6:50:42 PM
  5. //    By:    Tony Myles
  6. //
  7. //    Copyright © 1992-94 Tony Myles, All rights reserved worldwide.
  8. */
  9.  
  10.  
  11. #ifndef __SOUNDUTILS__
  12. #define __SOUNDUTILS__
  13.  
  14. #ifndef __SOUND__
  15. #include <Sound.h>
  16. #endif
  17.  
  18.  
  19.     // constants
  20. enum
  21. {
  22.     kWaitIfFull = true,
  23.     kSoundComplete = 1
  24. };
  25.  
  26.  
  27.     // prototypes
  28. Boolean SndChannelBusy(SndChannelPtr sndChannelP);
  29. OSErr InstallSoundCallBack(SndChannelPtr sndChannelP);
  30. Handle GetSoundResource(short soundResourceID, OSErr* err);
  31.  
  32.  
  33. #endif /* __SOUNDUTILS__ */